home *** CD-ROM | disk | FTP | other *** search
/ All About the French Know-How at E3 2000 (USA) / All About the French Know-How at E3 2000 (USA).bin / Data / 15012 / freestyledub2.exe / scripts / DefineButton2_263 / BUTTONCONDACTION on(release, keyPress 1).as
Text File  |  1999-12-16  |  1KB  |  67 lines

  1. on(release, keyPress "1"){
  2.    if(bPig)
  3.    {
  4.       bPig = "0";
  5.       if(bZelia and bFunky)
  6.       {
  7.          tellTarget("/cGroupe")
  8.          {
  9.             gotoAndStop("clavier+saxo");
  10.          }
  11.       }
  12.       else if(!bZelia and !bFunky)
  13.       {
  14.          tellTarget("/cGroupe")
  15.          {
  16.             gotoAndStop("mega stop");
  17.          }
  18.       }
  19.       else if(bZelia)
  20.       {
  21.          tellTarget("/cGroupe")
  22.          {
  23.             gotoAndStop("saxo");
  24.          }
  25.       }
  26.       else
  27.       {
  28.          tellTarget("/cGroupe")
  29.          {
  30.             gotoAndStop("clavier");
  31.          }
  32.       }
  33.    }
  34.    else
  35.    {
  36.       bPig = "1";
  37.       if(bZelia and bFunky)
  38.       {
  39.          tellTarget("/cGroupe")
  40.          {
  41.             gotoAndStop("totale");
  42.          }
  43.       }
  44.       else if(!bZelia and !bFunky)
  45.       {
  46.          tellTarget("/cGroupe")
  47.          {
  48.             gotoAndStop("pig1");
  49.          }
  50.       }
  51.       else if(bZelia)
  52.       {
  53.          tellTarget("/cGroupe")
  54.          {
  55.             gotoAndStop("pig1+saxo");
  56.          }
  57.       }
  58.       else
  59.       {
  60.          tellTarget("/cGroupe")
  61.          {
  62.             gotoAndStop("pig1+clavier");
  63.          }
  64.       }
  65.    }
  66. }
  67.